import random
from typing import List

def generate_integer_array(n: int, min_val: int = -1000, max_val: int = 1000) -> List[int]:
    """生成指定长度的随机整数数组"""
    assert n > 0, "数组长度必须为正整数"
    return [random.randint(min_val, max_val) for _ in range(n)]

def generate_test_suite() -> dict:
    """生成符合形式化定义的测试套件"""
    return {
        'small_sorted': sorted(generate_integer_array(10)),
        'small_reverse': sorted(generate_integer_array(10), reverse=True),
        'medium_random': generate_integer_array(100),
        'large_random': generate_integer_array(1000),
        'edge_case_empty': [],
        'edge_case_single': [42],
        'with_duplicates': [random.choice([1, 3, 5]) for _ in range(50)]
    }